import request from '@/api/request'
/**
 * 
 * @param 获取实验室列表 
 */
export function getLaboratoryList (params) {
    return request({
      url: `/laboratory/getLaboratoryList`,
      method: 'get',
      params
    })
}


/**
 * 
 * @param 创建实验室 
 */
export function createLaboratory (params) {
  return request({
    url: `/laboratory/createLaboratory`,
    method: 'post',
    data:params
  })
}

/**
 * 
 * @param 获取实验室详情 
 */
export function getLaboratoryInfo (params) {
  return request({
    url: `/laboratory/getLaboratoryInfo`,
    method: 'get',
    params
  })
}